package com.test;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        cat c = new cat("黄色",25);
        dog d = new dog("绿色",23);
        person p = new person("老王",50);
        p.keepPet(c,s);
        p.keepPet(d,s);
    }
}
